
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgChildForm, NgChildFormArray, NgValidateForm } from '@farris/devkit';
import { DateConverter, MultiLangConverter } from '@farris/kendo-binding';

@Injectable()
@NgValidateForm({
    formGroupName: '财务结算信息',
    enableValidate: true
})

@Injectable()
export class DetailFormComponentViewmodelForm extends Form {
    @NgFormControl({
        id: 'hlbh_f49828bc_76de',
        name: "{{hlbh_f49828bc_76de}}",
        binding: 'hlbh',
        updateOn: 'blur',
        defaultI18nValue: '汇率编号',
        validRules: [
            {
                type: 'required',
                constraints: [true],
            },
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    hlbh: FormControl;

    @NgFormControl({
        id: 'hlmc_bf54fc70_brh8',
        name: "{{hlmc_bf54fc70_brh8}}",
        binding: 'hlmc',
        updateOn: 'blur',
        defaultI18nValue: '汇率名称',
        validRules: [
            {
                type: 'required',
                constraints: [true],
            },
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    hlmc: FormControl;

    @NgFormControl({
        id: 'hlbz_7d81349e_6nc6',
        name: "{{hlbz_7d81349e_6nc6}}",
        binding: 'hlbz',
        updateOn: 'blur',
        defaultI18nValue: '汇率备注',
    })
    hlbz: FormControl;

}